﻿@model NextInventory.Model.User.RegisterModel

@{
    ViewBag.Title = "Register";
}
<!--  start forgotbox ................................................................................... -->
<div id="forgotbox">
    <div id="forgotbox-text">Please send us your email and we'll reset your password.</div>
    <!--  start forgot-inner -->
    <div id="forgot-inner">
        @using (Html.BeginForm("Register", "User", FormMethod.Post))
        {
            @Html.ValidationSummary(true)
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <th>@Html.LabelFor(model => model.FirstName)</th>
                    <td>
                        @Html.TextBoxFor(model => model.FirstName, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.FirstName)</td>
                </tr>
                <tr>
                    <th>@Html.LabelFor(model => model.LastName)</th>
                    <td>
                        @Html.TextBoxFor(model => model.LastName, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.LastName)</td>
                </tr>
                <tr>
                    <th>@Html.LabelFor(model => model.UserName)</th>
                    <td>@Html.TextBoxFor(model => model.UserName, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.UserName)</td>
                </tr>
                <tr>
                    <th>@Html.LabelFor(model => model.Email)</th>
                    <td>@Html.TextBoxFor(model => model.Email, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.Email)</td>
                </tr>
                <tr>
                    <th>@Html.LabelFor(model => model.Password)</th>
                    <td>@Html.TextBoxFor(model => model.Password, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.Password)</td>
                </tr>
                <tr>
                    <th>@Html.LabelFor(model => model.ConfirmPasswor)</th>
                    <td>@Html.TextBoxFor(model => model.ConfirmPasswor, new { @class = "login-inp" })
                        @Html.ValidationMessageFor(model => model.ConfirmPasswor)</td>
                </tr>
                <tr>
                    <td>
                        <input type="submit" value="" class="form-submit" />
                        <input type="reset" value="" class="form-reset" /></td>
                </tr>
            </table>
        }
    </div>
    <!--  end forgot-inner -->
    <div class="clear"></div>
    <a href="" class="back-login">Back to login</a>
</div>
<!--  end forgotbox -->
